﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work05._26
{
    class Program
    {
        static void Main(string[] args)
        {
            Bird b = new Bird("太阳鸟");
            b.Eat();
            b.Fly();
            b.Land();
            b.TakeOff();
            b.LayEggs();

            Console.WriteLine( "----------------------------------");
            Plane p = new Plane("波音747");
            p.carryPassange();
           p.Fly();
           p.Land();
           p.TakeOff();

            Console.WriteLine("----------------------------------");
            Superman s = new Superman("超人");
            s.Eat();
            s.Fly();
            s.Land();
            s.TakeOff();

        }
    }
}
